#ifndef MYBISESOCKET_H
#define MYBISESOCKET_H
#include <QTcpSocket>
#include "Interfaces/protocol.h"
//#include "dboperate.h"

class MyBiseSocket : public QTcpSocket
{
    Q_OBJECT
public:
    MyBiseSocket();

public slots:
    void recvMsg();

    void sendDataToClien(PBS *pbs);

    void handlePBS(PBS *pbs) ;


    void sendPixToClient();
private:
    static QStringList m_users;
    QString m_user;
    QByteArray m_pix_buf;

};

#endif // MYBISESOCKET_H
